home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-16 | 3.2 KB | 68 lines | [TEXT/GEOL] |
- Item 8911046 13-Oct-89 17:43
-
- From: D2652 Strategic Planning Sys, D Bell,PRT
-
- To: MACAPP.TECH$ MACAPP Tech
- MACDTS Macintosh Developer Tech. Supt.
-
- cc: D2652 Strategic Planning Sys, D Bell,PRT
-
- Sub: System errors only on Plus
-
-
-
- We are very close to having a final product. We've been developing with MacApp
- for about a year now on MacII's and IIcx's. My heart saddened when I took a
- copy of the application over to our Mac Plus (2 meg. not running MultiFinder),
- launched it, and watched it crash. Each time I launched the app, it would run
- for several minutes and then the MacsBug debugger window would appear. After
- several days of watching debug lines crawl by, we found almost all of the code
- where the crashes seem to occur. We have commented them out for now, just so
- we can distribute a demo version of our program.
-
- Well, we keep looking at the code and looking at the error messages that
- appeared in the debug window and in MacsBug and nothing seems to make sense.
- Every time it bombs, it gives us an error message like so:
-
- in MacsBug: System error 28 at Dequeue + 0156;
-
- In MacApp debugger: System overflowed into the heap;
-
- We are not calling any '020- or '030- specific code or toolbox methods. We
- are sticking to 8-color quickdraw, and have tried removing all color without
- effect. We have used only recommended pascal toolbox methods from IM(I-IV).
- Some of the troublesome code includes:
-
- 1. any calls to Date and Time methods from IM (i.e. GetTime).
- One of the views we created is a free window with a scroller and a TEView,
- which represents a type of running journal of events that our program monitors.
- We used code and tips found in an old issue of Frameworks to insert new lines
- of text into the fHTE handle. Every time we insert new text, we call a method
- to get the date and time and convert it to a string, and include it in the
- text. Oddly enough, it isn't until after the program has launched and the
- TEView had some text in it before the app crashed. ???
-
- 2. certain viewtypes on the screen.
- The application has several 'free' windows associated with it, including the
- journal window mentioned above. The program runs when any number of document
- windows are open. If we try to open up a certain 'free' windows, we get the
- same crash; certain other 'free' windows open fine.
-
- As an aside:
- We wrote some methods to maintain a WINDOWS menu, but we needed to filter the
- menu items to specific window types. Sometimes on the Plus we get garbage for
- the first item when there isn't a window on the screen that passes thru the
- filter. It doesn't crash the app, but this quirk does not appear on our
- non-68000 machines.
-
- I know this seems confusing; that's why we are sharing our troubles with you.
- We feel the confusion comes from the fact that these 'errors' show no
- consistency, and the trouble code seems so unrelated. Does anyone have any
- clue what the problems could be stemming from? It is a memory management
- problem? Is there some constant or global in MacApp that we are not setting
- properly? I'm sure it's our code, but what?
-
- ...and thank you for your support.
- DannyC
-
-